﻿using BigEgg.Framework.Applications.ViewModels;
using FMStudio.Templates.DesignTool.Application.Services;
using FMStudio.Templates.DesignTool.Application.Views;
using System;
using System.Collections.Generic;
using System.ComponentModel.Composition;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace FMStudio.Templates.DesignTool.Application.ViewModels
{
    [Export]
    public class ToolboxViewModel : ViewModel<IToolboxView>
    {
        #region Fields
        private readonly IToolboxService toolboxService;
        #endregion

        [ImportingConstructor]
        public ToolboxViewModel(IToolboxView view, IToolboxService toolboxService)
            : base(view)
        {
            this.toolboxService = toolboxService;
        }

        #region Properties
        public IToolboxService ToolboxService { get { return this.toolboxService; } }
        #endregion
    }
}
